package com.xuan.oath.client.api.app;

import com.xuan.entity.UserDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface UserRemoteApi {

    @GetMapping("/get/{username}")
    List<UserDTO> getUserByUserName(@PathVariable("username") String username);
}
